package ru.onlinestore.mobile.domain.entities

data class ProductDomain(
    val id: Long,
    val title: String,
    val description: String,
    val price: Double,
    val brand: String,
    val category: String,
    val thumbnail: String,
    val images: List<String>
) {
    fun <R> map(mapper: ((ProductDomain) -> R)): R = mapper(this)
}
